import request from '@/request/index.js'




export function createscore(data) {
	return request.post({
		url: `/api/index/createscore`,
		data

	});
}
export function delscore(data) {
	return request.post({
		url: `/api/index/delscore`,
		data

	});
}

export function buyscore(data) {
	return request.post({
		url: `/api/index/buyscore`,
		data

	});
}

export function myscore(data) {
	return request.get({
		url: `/api/index/myscore`,

	});
}

export function scoregoodlist(data) {
	return request.get({
		url: `/api/index/scoregoodlist`,
	});
}